<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="/static/css/*.css">
    <script type="text/javascript" src="/static/js/jquery-3.2.1.min.js"></script>
    <title>Title</title>
</head>
<body>
<h1>欢迎！</h1>
<form action="/index" method="post">
    <th>用户名:</th><input type="text" name="username" />
    <th>密码:</th><input type="password" name="password" />
    <input type="submit" value="提交"/>
    <hr/>
    <h1>用户展示</h1>
    <table border="1">
        <thead>
            <th>用户名</th>
            <th>密码</th>
        </thead>
        <tbody>
            {% for line in data %}
            <tr>
                <td>{{line.user}}</td>
                <td>{{ line.pwd }}</td>
            </tr>
        {% endfor %}
        </tbody>
    </table>

    <img src="/static/images/logo.png">

</form>
</body>
</html>